Query Processing and Optimization In DBMS